<?php
// TbBox
$this->beginWidget('bootstrap.widgets.TbBox', array(
	'title' => array(
		$this->projectName => array('project/schema'),
		'数据列表' => array('data/list'),
		'清空数据',
	),
	'headerIcon' => 'icon-inbox',
));
$this->widget('bootstrap.widgets.TbAlert', array(
	'block' => true, // display a larger alert block?
	'fade' => true, // use transitions?
	'closeText' => '×', // close link text - if set to false, no close link is displayed
	'alerts' => array('success', 'warning', 'error'),
));

$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'type' => 'horizontal',
	'focus' => array($model, 'password'),
)); /* @var $form TbActiveForm */
?>
<fieldset>
	<?php echo $form->passwordFieldRow($model, 'password'); ?>
	<?php echo $form->checkBoxRow($model, 'stopRebuild'); ?>
	<div class="control-group">
		<div class="controls">
			<?php
			$this->widget('bootstrap.widgets.TbButton', array(
				'buttonType' => 'submit',
				'type' => 'primary',
				'label' => '确定清空',
			));
			?>
			<?php
			$this->widget('bootstrap.widgets.TbButton', array(
				'label' => '返回',
				'url' => array('data/list'),
			));
			?>
		</div>
	</div>	
</fieldset>
<?php $this->endWidget(); ?>
<?php $this->endWidget(); ?>
